package com.ts.graphql.client.entity;

import lombok.Data;

import java.util.Collection;

@Data
public class Person {

    private int age;

    private Collection<Hobboy> hobbies;

    public Person(int age, Collection<Hobboy> hobbies) {
        this.age = age;
        this.hobbies = hobbies;
    }
}
